package com.zhijin.empty.Controller;

import com.zhijin.empty.Util.logUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class TestController {
//    @Value("${server.port}")
//    private String name;
//    private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(TestController.class);
    private static logUtil log = logUtil.getInst(TestController.class);

    @RequestMapping(value = "test")
    public String test(@RequestParam Map data){
        log.info("info日志打印");
        System.out.println("data----------"+data);
        return "test holle";
    }
}
